/**
 * 超管站点管理页面下子路由
 */


import UserInfo from "../views/SiteManage/ManageView/UserManage/UserInfoManage";
import AddUser from '../views/SiteManage/ManageView/UserManage/AddUser'
import ModifyUserInfo from "../views/SiteManage/ManageView/UserManage/ModifyUserInfo/ModifyUserInfo";
import SupervisorManufacturerInfoList
    from "../views/SiteManage/ManageView/ManufacturerManage/SupervisorManufacturerInfoList";
import AddManufacturer from "../views/SiteManage/ManageView/ManufacturerManage/AddManufacturer"
import ModifyManufacturer from "../views/SiteManage/ManageView/ManufacturerManage/ModifyManufacturer"
import DeletedManuInfo
    from "../views/SiteManage/ManageView/ManufacturerManage/DeletedManufacturer/DeletedManufacturerList"
import SupervisorAddDevice from "../views/SiteManage/ManageView/DeviceManage/AddDevice/SupervisorAddDevice";
import DeviceInfo from "../views/SiteManage/ManageView/DeviceManage/DeviceInfo";
import ModifyDevice from "../views/SiteManage/ManageView/DeviceManage/ModifyDevice/ModifyDevice";
import DeviceKnowledgeInfo from "../views/SiteManage/ManageView/DeviceKnowledgeManage/DeviceKnowledgeInfo";
import AddDeviceKnowledge from "../views/SiteManage/ManageView/DeviceKnowledgeManage/AddDeviceKnowledge";
import ModifyDeviceKnowledge from "../views/SiteManage/ManageView/DeviceKnowledgeManage/ModifyDeviceKonwledge";
import DeletedDeviceKnowledge from "../views/SiteManage/ManageView/DeviceKnowledgeManage/DeletedDeviceKnowledge";
import ReviewArticleInfo from "../views/SiteManage/ManageView/ReviewArticleManage/ReviewArticleInfo";
import AddReviewArticle from "../views/SiteManage/ManageView/ReviewArticleManage/AddReviewArticle";
import ModifyReviewArticle from "../views/SiteManage/ManageView/ReviewArticleManage/ModifyReviewArticle";
import DeletedReviewArticle from "../views/SiteManage/ManageView/ReviewArticleManage/DeletedReviewArticle";
import BannerChange from "../views/SiteManage/ManageView/siteManage/BannerChange/BannerChange";
import PlatformOverviewChange from "../views/SiteManage/ManageView/siteManage/PlatformOverviewChange";
import RelatedLinkModify from "../views/SiteManage/ManageView/siteManage/RelatedLinkModify";
import ModifyFooter from "../views/SiteManage/ManageView/siteManage/ModifyFooter";
import ModifyAboutUs from "../views/SiteManage/ManageView/siteManage/ModifyAboutUs";
import ModifyCarousel from "../views/SiteManage/ManageView/siteManage/ModifyCarousel";
import AddDataCategory from "../views/SiteManage/ManageView/DataCategoryManage/AddDataCategory";
import DataCategoryInfo from "../views/SiteManage/ManageView/DataCategoryManage/DataCategoryInfo";
import {DeletedDataCategory} from "../views/SiteManage/ManageView/DataCategoryManage/DeletedDataCategory/DeletedDataCategory";
import ModifyDataCategory
    from "../views/SiteManage/ManageView/DataCategoryManage/ModifyDataCategory/ModifyDataCategory";
import DeletedDeviceList from "../views/SiteManage/ManageView/DeviceManage/DeletedDevice/DeletedDeviceList";
import {DeletedManufacturerList,} from "../views/SiteManage/ManageView";

export type siteManageRoutesType = {
    component: any,
    path: string,
    exact?: boolean
}

export const siteManageRoutes: siteManageRoutesType[] = [
    //用户信息管理
    {
        path: 'userInfo',
        component: UserInfo
    },
    //增加用户
    {
        path: 'addUser',
        component: AddUser
    },
    //编辑用户
    {
        path: 'modifyUser',
        component: ModifyUserInfo
    },
    //厂商信息
    {
        path: 'manufacturerInfo',
        component: SupervisorManufacturerInfoList
    },
    //增加厂商
    {
        path: 'addManufacturer',
        component: AddManufacturer
    },
    //编辑厂商
    {
        path: 'modifyManufacturer/:id?',
        component: ModifyManufacturer
    },
    //已删除厂商信息
    {
        path: 'deletedManuInfo',
        component: DeletedManuInfo
    },
    //设备信息
    {
        path: 'deviceInfo',
        component: DeviceInfo
    },
    //增加设备
    {
        path: 'addDevice',
        component: SupervisorAddDevice
    },
    //编辑设备
    {
        path: 'modifyDevice',
        component: ModifyDevice
    },
    //设备知识信息
    {
        path: 'deviceKnowledgeInfo',
        component: DeviceKnowledgeInfo
    },
    //新增设备知识
    {
        path: 'addDeviceKnowledge',
        component: AddDeviceKnowledge
    },
    //已删除设备知识
    {
        path: 'deletedDeviceKnowledge',
        component: DeletedDeviceKnowledge
    },
    //编辑设备知识
    {
        path: 'modifyDeviceKnowledge/:id?',
        component: ModifyDeviceKnowledge
    },
    //测评文章信息
    {
        path: 'reviewArticleInfo',
        component: ReviewArticleInfo
    },

    //新增测评文章
    {
        path: 'addReviewArticle',
        component: AddReviewArticle
    },

    //编辑测评文章
    {
        path: 'modifyReviewArticle/:id?',
        component: ModifyReviewArticle
    },
    //已删除测评文章
    {
        path: 'deletedReviewArticle',
        component: DeletedReviewArticle
    },
    //banner更换
    {
        path: 'bannerChange',
        component: BannerChange
    },
    //平台概况更换
    {
        path: 'platformOverviewChange',
        component: PlatformOverviewChange
    },
    //相关链接更换
    {
        path: 'modifyRelatedLink',
        component: RelatedLinkModify
    },
    //页脚文字更改
    {
        path: 'modifyFooter',
        component: ModifyFooter
    },
    //轮播图更换
    {
        path: 'modifyCarousel',
        component: ModifyCarousel
    },
    //关于我们更改
    {
        path: 'modifyAboutUs',
        component: ModifyAboutUs
    },
    //增加数据类型
    {
        path: 'addDataCategory',
        component: AddDataCategory
    },
    //数据类型信息
    {
        path: 'dataCategoryInfo',
        component: DataCategoryInfo
    },
    //已删除数据类型
    {
        path: 'deletedDataCategory',
        component: DeletedDataCategory
    },
    //编辑数据类型
    {
        path: 'modifyDataCategory',
        component: ModifyDataCategory
    },
    //已删除设备
    {
        path: 'deletedDevice',
        component: DeletedDeviceList
    },
    //已删除厂商
    {
        path: 'deletedManufacturerList',
        component: DeletedManufacturerList
    },

]
